/**
 * 
 * gislin
 * 2017年4月26日
 */
package com.szholly.pro.watergas_server.ps.monitor;

import com.szholly.data.general.RowBase;

import java.util.HashMap;
import java.util.List;

/**
 * @author gislin
 * 2017年4月26日
 */
public class MonitorDataModel {

	/**
	 * 报表数据
	 */
	List<RowBase> data;
	
	/**
	 * 涉及到的污染物信息
	 */
	List<PollutantsModel> pollInfoList;
	
	HashMap<String, PollutantsModel> pollInfo;
	
	String[] parms;
	
	/**
	 * 最小值
	 */
	RowBase minData;
	/**
	 * 最大值
	 */
	RowBase maxData;
	/**
	 * 平均值
	 */
	RowBase avgData;
	/**
	 * 综合水质类别
	 */
	RowBase totalWaterStandard;
	/**
	 * 水质类别
	 */
	RowBase waterStandard;
	/**
	 * 主要污染物
	 */
	RowBase mainPoll;
	/**
	 * 排放量
	 */
	RowBase emissionsData;
	
	public List<PollutantsModel> getPollInfoList() {
		return pollInfoList;
	}
	public void setPollInfoList(List<PollutantsModel> pollInfoList) {
		
		pollInfo = new HashMap<>();
		
		for(PollutantsModel pollModel : pollInfoList){
			pollInfo.put(pollModel.getPollCode(), pollModel);
		}
		
		this.pollInfoList = pollInfoList;
	}
	public String[] getParms() {
		return parms;
	}
	
	public HashMap<String, PollutantsModel> getPollInfo() {
		return pollInfo;
	}
	public void setParms(String[] parms) {
		this.parms = parms;
	}
	public List<RowBase> getData() {
		return data;
	}
	public void setData(List<RowBase> data) {
		this.data = data;
	}
	public RowBase getMinData() {
		return minData;
	}
	public void setMinData(RowBase minData) {
		this.minData = minData;
	}
	public RowBase getMaxData() {
		return maxData;
	}
	public void setMaxData(RowBase maxData) {
		this.maxData = maxData;
	}
	public RowBase getAvgData() {
		return avgData;
	}
	public void setAvgData(RowBase avgData) {
		this.avgData = avgData;
	}
	public RowBase getTotalWaterStandard() {
		return totalWaterStandard;
	}
	public void setTotalWaterStandard(RowBase totalWaterStandard) {
		this.totalWaterStandard = totalWaterStandard;
	}
	public RowBase getWaterStandard() {
		return waterStandard;
	}
	public void setWaterStandard(RowBase waterStandard) {
		this.waterStandard = waterStandard;
	}
	public RowBase getMainPoll() {
		return mainPoll;
	}
	public void setMainPoll(RowBase mainPoll) {
		this.mainPoll = mainPoll;
	}
	public RowBase getEmissionsData(){
		return emissionsData;
	}
	public void setEmissionsData(RowBase emissionsData){
		this.emissionsData=emissionsData;
	}
}
